package com.ruoyi.system.domain.upe;

public class OAttribute {
	// 属性英文名称
	public String name;
	
	// 属性中文名称
	public String alias;
	
	// WEB类型
	public String web_type;
	
	// 高度：像素
	public int height;
	
	// 宽度：像素
	public int length;
	
	// 排序序号
	public int sort_order;
	
	// 跨度列
	public int span_column;
	
	// 默认值
	public String default_value;
	
	// 初始状态: true:扩展的  false:折叠的
	public boolean expanded;
	
	// true:可修改  false：只读
	public boolean writable;
	
	// true:非必填 false: 必填
	public boolean isnull;
	
	// 如果该属性为web_listbox, 则设置listbox_values属性
	public ListBox listbox_values;
	
	public OAttribute() {
		
	}
	
	public OAttribute(String name, String alias, String web_type, int height, int length, int sort_order, int span_column, String default_value, boolean expanded, boolean writable, boolean isnull, ListBox listbox_values) {
		this.name=name;
		this.alias=alias;
		this.web_type=web_type;
		this.height=height;
		this.length=length;
		this.sort_order=sort_order;
		this.span_column=span_column;
		this.default_value=default_value;
		this.expanded=expanded;
		this.writable=writable;
		this.isnull=isnull;
		this.listbox_values=listbox_values;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getWeb_type() {
		return web_type;
	}

	public void setWeb_type(String web_type) {
		this.web_type = web_type;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public int getSort_order() {
		return sort_order;
	}

	public void setSort_order(int sort_order) {
		this.sort_order = sort_order;
	}

	public int getSpan_column() {
		return span_column;
	}

	public void setSpan_column(int span_column) {
		this.span_column = span_column;
	}

	public String getDefault_value() {
		return default_value;
	}

	public void setDefault_value(String default_value) {
		this.default_value = default_value;
	}

	public boolean isExpanded() {
		return expanded;
	}

	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}

	public boolean isWritable() {
		return writable;
	}

	public void setWritable(boolean writable) {
		this.writable = writable;
	}

	public boolean isIsnull() {
		return isnull;
	}

	public void setIsnull(boolean isnull) {
		this.isnull = isnull;
	}

	public ListBox getListbox_values() {
		return listbox_values;
	}

	public void setListbox_values(ListBox listboxValues) {
		listbox_values = listboxValues;
	}
}
